<%--
  Created by IntelliJ IDEA.
  User: oyz
  Date: 2021/4/29
  Time: 16:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>展示页面</title>
</head>
<body>
<table border="1" cellspacing="0" style="width:400px;height:300px" align="center">
    <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>密码</td>
        <td>性别</td>
        <td>生日</td>
        <td>班级名称</td>
    </tr>
    <c:forEach items="${list}" var="c" varStatus="o">
    <tr>
        <td>${o.index+1}</td>
        <td>${c.username}</td>
        <td>${c.password}</td>
        <td>${c.sex}</td>
        <td>${c.birthday}</td>
        <td>${c.cname}</td>
    </tr>
    </c:forEach>

</body>
</html>
